home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Environments / Oberon⁄F™ 1.2 / Preinstalled version / Manuals / Guide (.txt) < prev    next >
Encoding:
Oberon Document  |  1996-03-29  |  36.6 KB  |  456 lines  |  [oODC/obnF]

  1. Documents.StdDocumentDesc
  2. Documents.DocumentDesc
  3. Containers.ViewDesc
  4. Views.ViewDesc
  5. Stores.StoreDesc
  6. Documents.ModelDesc
  7. Containers.ModelDesc
  8. Models.ModelDesc
  9. Stores.ElemDesc
  10. TextViews.StdViewDesc
  11. TextViews.ViewDesc
  12. TextModels.StdModelDesc
  13. TextModels.ModelDesc
  14. TextModels.AttributesDesc
  15. Helvetica
  16. TextRulers.StdRulerDesc
  17. TextRulers.RulerDesc
  18. TextRulers.StdStyleDesc
  19. TextRulers.StyleDesc
  20. TextRulers.AttributesDesc
  21. StdLogos.ViewDesc
  22. Helvetica
  23. Helvetica
  24. Helvetica
  25. StdFolds.FoldDesc
  26. Helvetica
  27. StdLinks.LinkDesc
  28. StdCmds.OpenBrowser('Manuals/Copyrigh', 'Copyright')
  29. Helvetica
  30. Oberon/F Release 1.2
  31. Copyright 
  32.  1994-1996 by Oberon microsystems, Inc., Switzerland.
  33. All rights reserved. No part of this publication may be reproduced in any form or by any means, without prior written permission by Oberon microsystems. The only exception is the free electronic distribution of the education version of Oberon/F (see the accompanying 
  34. copyright
  35. notice
  36.  for details).
  37. Oberon/F module interfaces and their descriptions in particular may not be used in other works without written permission.
  38. Oberon microsystems, Inc.
  39. Technoparkstrasse 1
  40. CH-8005 Z
  41. Switzerland
  42. Oberon is a trademark of ETH Z
  43. rich, Switzerland.
  44. Oberon/F, Oberon/L, "Oberon by Example", "The Oberon Tribune", "Oberon Developer Forum", and "Drag & Pick" are trademarks of Oberon microsystems, Inc.
  45. All other trademarks and registered trademarks belong to their respective owners.
  46. Helvetica
  47. Helvetica
  48. StdLinks.ShowTarget('Overview')
  49. Helvetica
  50. StdLinks.ShowTarget('Conventions')
  51. StdLinks.ShowTarget('Installation Windows')
  52. StdLinks.ShowTarget('Installation Mac OS')
  53. StdLinks.ShowTarget('Installation Release')
  54. StdLinks.ShowTarget('Deinstallation')
  55. StdLinks.ShowTarget('Windows')
  56. StdLinks.ShowTarget('Document Size')
  57. StdLinks.ShowTarget('Menu Configuration')
  58. StdLinks.ShowTarget('String Resources')
  59. StdCmds.OpenBrowser('Text/Docu/Guide', 'User Guide for Text Subsystem')
  60. StdCmds.OpenBrowser('Form/Docu/Guide', 'User Guide for Form Subsystem')
  61. StdCmds.OpenBrowser('Dev/Docu/Guide', 'User Guide for Dev Subsystem')
  62. StdLinks.ShowTarget('Standard Commands')
  63. StdLinks.ShowTarget('File Menu')
  64. StdLinks.ShowTarget('Edit Menu')
  65. StdLinks.ShowTarget('Font Menu')
  66. StdLinks.ShowTarget('Attributes Menu')
  67. StdLinks.ShowTarget('Window Menu')
  68. StdCmds.OpenBrowser('Std/Map', 'Map to the Standard Commands')
  69. Helvetica
  70. Helvetica
  71. StdLinks.TargetDesc
  72. Overview
  73. Helvetica
  74. StdCmds.OpenMask('Manuals/PSI', 'Platform-Specific Issues')
  75. Helvetica
  76. Conventions
  77. Installation Windows
  78. Installation Mac OS
  79. Installation Release
  80. StdCmds.OpenMask('Manuals/Changes', 'Changes between 1.1 and 1.2')
  81. Deinstallation
  82. Windows
  83. Document Size
  84. Menu Configuration
  85. Helvetica
  86. Helvetica
  87. MENU "Dev"
  88.     "Insert Stamp"    ""    "StdStamps.Deposit; StdCmds.PasteView"
  89.             "StdCmds.PasteViewGuard"
  90.     SEPARATOR
  91.     "Compile"    "K"    "DevCompiler.Compile"    "TextCmds.FocusGuard"
  92.     "Compile Selection"    ""    "DevCompiler.CompileSelection"    "TextCmds.SelectionGuard"
  93.     SEPARATOR
  94.     "Unmark Errors"    ""    "DevMarkers.UnmarkErrors"    "TextCmds.FocusGuard"
  95.     "Next Error"    "E"    "DevMarkers.NextError"    "TextCmds.FocusGuard"
  96.     "Toggle Error Mark"    ""    "DevMarkers.ToggleCurrent"    "TextCmds.FocusGuard"
  97.     SEPARATOR
  98.     "Insert Commander"    ""    "DevCommanders.Deposit; StdCmds.PasteView"
  99.             "PasteViewGuard"
  100.     "Execute"    ""    "DevDebug.Execute"    "TextCmds.SelectionGuard"
  101.     "Unload"    ""    "DevDebug.Unload"    "TextCmds.SelectionGuard"
  102. TextControllers.StdCtrlDesc
  103. TextControllers.ControllerDesc
  104. Containers.ControllerDesc
  105. Controllers.ControllerDesc
  106. Geneva
  107. StdCmds.OpenBrowser('Std/Docu/MenuTool', 'StdMenuTool Docu')
  108. StdCmds.OpenBrowser('Std/Docu/Cmds', 'StdCmds Docu')
  109. String Resources
  110. Standard Commands
  111. File Menu
  112. Edit Menu
  113. Font Menu
  114. Attributes Menu
  115. Window Menu
  116.  Oberon/F
  117. User's Guide
  118. Copyright Notice
  119. Contents
  120. Overview
  121. Conventions
  122. Installation
  123. (Windows
  124. only)
  125. Installation
  126. only)
  127. Installation
  128. Release
  129. Release
  130. Deinstallation
  131. Document
  132. Windows,
  133. Windows,
  134. Auxiliary
  135. Windows
  136. Document
  137. Configuration
  138. String
  139. Resources
  140. Subsystem
  141. Subsystem
  142. Subsystem
  143. Standard
  144. Commands
  145. Attributes
  146. Window
  147. (Windows)
  148. Windows
  149. Custom
  150. Commands
  151. Overview
  152. This document serves as a user's guide for Oberon/F programmers. It is not intended as a manual for the end user of software written in Oberon/F. Knowledge of the underlying platform's user interface guidelines is assumed.
  153. With Oberon/F, there are no separate environments for developing programs, for testing and debugging programs, or for the distribution of programs. Instead there is only one, truly integrated, environment for all these purposes. A distribution version of an Oberon application is created simply by stripping away all tools which are specific to the development process.
  154. Neither development tools nor documentation may be distributed. However, all other parts of Oberon/F may be freely distributed along with applications, without royalties or other fees.
  155. Such a customized Oberon/F environment always has the basic capabilities of Oberon/F's compound document architecture, and of the standard text and form subsystems. Furthermore, it constitutes a standard Windows or Mac OS application, where the (boot) application can be double-clicked, where documents can be dropped onto the application icon to open them, etc.
  156. "Native" applications which are only developed under, but not based on, Oberon/F can be developed as well. For this purpose, a linker tool is provided (only in the full version of the software, not in the education version). Normally, Oberon modules are linked and loaded dynamically, such that a separate linker is not strictly necessary. However, it is possible even for pure Oberon/F applications to link all or some of their modules together, in order to reduce the number of files to distribute. For further information about this topic, refer to the document 
  157. Platform-Specific
  158. Issues
  159. On-line documentation:
  160. Text stretches which are blue and underlined are hyperlinks, and can be followed by clicking on them.
  161. When working in the Oberon/F environment for the first time, the following may be helpful to remember: almost all modifications to Oberon/F documents are undoable, making it quite safe to try out a feature. In general, multi
  162. level undo/redo is available, i.e. not only one, but several commands can be undone; as many as memory permits.
  163. Mac OS:
  164. Whenever the system is working on the completion of some command for more than a fraction of a second, Oberon/F changes the cursor to a special busy cursor sequence, i.e. a cursor which changes its shape as long as the command is running. However, this does not guarantee that the executing program does make any progress. For example, the busy cursor will keep advancing, even if the program entered an endless loop. Use command-option-. to terminate such a program. Note that it may take a few seconds before you see a reaction.
  165. Windows:
  166. On Windows NT and Windows 95, an endless loop can be terminated with ctrl-break.
  167. Conventions
  168. The contents of this documentation mostly applies to both the Windows and Mac OS versions of Oberon/F. Where there are differences, e.g. a feature only available on one platform, this is clearly indicated, e.g. as in the previous paragraph. In order to reduce the number of such platform-specific remarks, a few notational conventions are followed:
  169. - Mac OS folders are called (sub)directories.
  170. - Path names contain "/" as directory separators, as in Unix and in the World-Wide Web.
  171. - File and directory names contain both capital and small letters.
  172. - In chapters which are not Windows-specific, document file names are given without the ".odc" suffix used in Windows. Thus the file name Text/Rsrc/Find under Windows corresponds to Text\Rsrc\find.odc, and to Text:Rsrc:find under Mac OS.
  173. - modifier key: on Windows this is the ctrl key, on Mac OS this is the option key.
  174. - menu commands: M->I is a shorthand notation for menu item I in menu M, e.g. File->New.
  175. - Differences between Windows and Mac OS may be denoted in three different ways: large differences are handled by giving two different sections, one for each platform. In this case, the sectin title ends in "(Windows only)" or "(Mac OS only)". If not indicated otherwise, the next section will apply to both platforms again. Smaller differences are described as short notes, typically there is a note on Windows-specific behavior, followed by a note on Mac OS-specific behavior. There is an example at the end of the previous section. For small differences, both versions are given in the same sentence, e.g. "To drag & pick, hold down the alt key (Windows) / command key (Mac OS) while dragging."
  176. Installation (Windows only)
  177. Start Setup.exe on disk number 1. The setup program will lead you through the installation procedure.
  178. Oberon/F requires a PC with an i386 or better, with Windows 3.1, Windows for Workgroups, Windows NT 3.5, or Windows 95.
  179. The resulting Oberon directory contains several files and directories:
  180. Files:
  181. OberonF.exe    The Oberon/F boot application.
  182. ReadMe.txt    Release notes and copyright notice.
  183. Tour.odc    A quick tour through Oberon/F.
  184. Directories:
  185. Dev    This directory contains the development subsystem.
  186. Form    This directory contains the Form subsystem with the visual designer.
  187. Host    This directory contains private code of Oberon/F.
  188. Manuals    This directory contains on-line documentation not specific to a particular
  189.     module or subsystem.
  190. Obx    This directory contains the Obx subsystem, a collection of examples.
  191. Std    This directory contains a number of command packages available to the user.
  192. System    This directory contains the core of Oberon/F.
  193. Text    This directory contains the Text subsystem, with the standard
  194.     document/program editor.
  195. Installation (Mac OS only)
  196. Start the Oberon
  197. installer application on disk number 1. The installer will lead you through the installation procedure.
  198. Oberon/F requires a Macintosh with a MC68020 or better, with Mac OS 7.0 or higher, and a floating point unit (FPU) or FPU emulator. If you don't have an FPU please read the Read
  199. Me (FPU) file in the Oberon directory.
  200. The resulting Oberon directory contains several files and directories:
  201. Files:
  202. OberonF    The Oberon/F boot application.
  203. Read Me    Release notes and copyright notice.
  204. Read Me (FPU)    Information about a third-party floating-point emulator.
  205. Tour    A quick tour through Oberon/F.
  206. Directories:
  207. Dev    This directory contains the development subsystem.
  208. Form    This directory contains the Form subsystem with the visual designer.
  209. Host    This directory contains private code of Oberon/F.
  210. Mac    This directory contains interface modules for direct Toolbox and Mac OS
  211.     access.
  212. Manuals    This directory contains on-line documentation not specific to a particular
  213.     module or subsystem.
  214. Obx    This directory contains the Obx subsystem, a collection of examples.
  215. Std    This directory contains a number of command packages available to the user.
  216. System    This directory contains the core of Oberon/F.
  217. Text    This directory contains the Text subsystem, with the standard
  218.     document/program editor.
  219. Installation of Release 1.2 over Release 1.1
  220. Rename the old Oberon directory, install the new one as outlined above, and then move over the old Mod directory and any subsystem directories that you may have created. Finally, update the System/Rsrc/Menus file in the new version with the menu entries that you may have added or changed.
  221. To learn about how to migrate your sources and documents from Release 1.1 to Release 1.2, consult the document 
  222. Manuals/Changes
  223. Deinstallation
  224. Simply delete the whole Oberon directory.
  225. Document Windows, Tool Windows, Auxiliary Windows
  226. There are three kinds of windows in Oberon/F: document windows, tool windows, and auxiliary windows.
  227. A document window may contain e.g. a text or a form layout, or your custom view object type. When the contents of a document window have been modified (made "dirty") and the user tries to close the window (or quit the application), the system asks whether it should save the document.
  228. A tool window allows to invoke actions on some document window underneath it. Typically, tool windows are used for modeless dialogs.
  229. Windows:
  230. Tool windows look the same way as dialogs.
  231. Mac OS:
  232. Tool windows look the same way as modeless dialogs, i.e. the same way as a document. In order to make it possible for the user to distinguish tool and document windows, titles of tool windows are put between "<<" and ">>" brackets.
  233. Auxiliary windows are used mainly to hold temporary data for information purposes, e.g. the output of a browser. The contents of an auxiliary window may be editable, but the system does not ask whether a modified auxiliary window should be stored, i.e. it is temporary in nature. The Log window is an example of an auxiliary window.
  234. Windows:
  235. On Windows 3.1, there is no visible difference between document and auxiliary windows. On Windows 95, a document window is decorated with the Oberon/F document icon, while an auxiliary window is decorated with the Oberon/F application icon. A tool window is not decorated with an icon.
  236. Mac OS:
  237. Auxiliary windows look the same way as any document. In order to make it possible for the user to distinguish auxiliary and document windows, the titles of auxiliary windows are put between "[" and "]" brackets.
  238. Document Size
  239. The size of a document, or more exactly of its outermost ("root") view, can be updated in several ways. Its width, or independently its height, can be bound either to a fixed size, to the paper as defined in the Page
  240. Setup dialog, or to the window's current size.
  241. For example, text views by default have a width bound to the page size, and a height bound to the window size. Documentation is often bound to the current window size in both dimensions. Such bindings can be changed with the Tools->Document Size... dialog.
  242. Menu Configuration
  243. The configurable menus can be inspected using Info->Menus. The displayed text can be edited, and the current menu configuration updated accordingly (Info->Update
  244. Menus). To make changes to the menus permanent, the menu text must be saved to disk. The file System/Rsrc/Menus contains the startup menu configuration, i.e. the text which is opened when Info->Menus is executed.
  245. The menu text consists of a sequence of menu definitions, which themselves consist of sequences of menu items. An example is the following extract of a possible Dev menu definition:
  246.      
  247. Each menu has a name, in this case it is Dev. Optionally, the menu name can be followed by a menu type, e.g.
  248. MENU "Text" ("TextViews.ViewDesc")
  249. A typed menu is only installed in the menu bar as long as the current focus has a matching type, i.e. it is context-sensitive. The other menus are always available.
  250. Mac OS:
  251. Standard menus, i.e. File, Edit, Font, Attributes, and Windows are predefined and not part of a menu configuration text.
  252. There are two kinds of menu items: normal items and separators. A separator optically organizes a menu into different groups of items. Normal menu items consist of four strings: a name, a keyboard equivalent, an action command, and a guard command. The name is the string presented to the user in the menu. A "&" character indicates which character of the name should be underlined (this is a Windows feature, and not available on Mac OS). If you want a "&" to appear, you should write a "&&" (this also holds for the Mac OS, i.e. the syntax is the same for both platforms).
  253. The keyboard equivalent, which may be empty, allows to associate a key to the menu item. The action string contains the command sequence which is activated when the menu item is executed. The guard string, which may be empty, contains a command which is called to determine whether the item is currently enabled or disabled, checked or unchecked, or to set up a current item name which overrides the normal name (e.g. to toggle between Show
  254. XYZ and Hide
  255. XYZ).
  256. Note: the menu guard is executed e.g. when the user clicks in the menu bar. This causes the guard's module to become loaded, even if the user never uses the corresponding command.
  257. Note: the menu guard is evaluated only once. If the guard's module cannot be loaded, the menu item remains disabled and the guard is not executed again (for performance reasons). If the module's code becomes available later, e.g. because its module was later compiled, the menu item will remain disabled. To force a re-evaluation of the guard, use the Dev->Flush
  258. Resources command.
  259. Windows:
  260. The following keyboard shortcuts can be specified in the keyboard equivalent string:
  261.     "A".."Z", "0".."9"    modifier + key
  262.     "*A".."*Z", "*0".."*9"    shift + modifier + key
  263.     "F1".."F12"    function key
  264.     "^F1".."^F12"    modifier + function key
  265.     "*F1".."*F12"    shift + function key
  266.     "*^F1".."*^F12"    shift + modifier + function key
  267. See also modules 
  268. StdMenuTool
  269.  and 
  270. StdCmds
  271. String Resources
  272. String resources are files which define a mapping between strings, e.g. the string "untitled" may be mapped to "sans titre". This is useful to prevent hard-wiring textual messages in the program code, in order to make later editing of these messages possible without requiring a recompilation. From a programming point of view, string translation is done in several procedures of module Dialog, e.g. Dialog.MapString. String resource files can be normal Oberon/F text documents, which simply consist of the keyword STRINGS followed by a sequence of lines; each line contains a string (the key), a TAB, another string (to which the key is mapped), and a carriage return, e.g.
  273. STRINGS
  274. untitled    sans titre
  275. open    ouvre
  276. close    ferme
  277. There can be one string resource file per subsystem (->Subsystems and Global Modules). For example, a call of
  278. Dialog.MapString("#Form:CntrlInstallFailed", resultString)
  279. in a program maps the string "CntrlInstallFailed" according to the table in the Form/Rsrc/Strings file. In the English version, the mapping is "form controller installation failed". In a German version, "CntrlInstallFailed" might be mapped to "Der Form Controller konnte nicht installiert werden".
  280. Standard Commands
  281. In this section, the menu items of the standard menus File, Edit, Font (Mac OS), Attributes, and Window(s) are described. For a menu item which is not permanently enabled, the condition for enabling it is specified. Often, such a guard command is one of the commands exported by module StdCmds.
  282. Windows:
  283. Under Windows, the standard menu items can be configured in the same way as all other menu items, by editing the System/Rsrc/Menus document. Most standard menu items are calls to a command exported by module StdCmds.
  284. File Menu
  285. Opens a new document window containing an empty text view.
  286. Open...
  287. Opens the standard file Open dialog.
  288. Mac OS:
  289. Only Oberon/F documents (i.e. Mac OS files with file type = "oODC"), directories, and volumes are shown. By clicking the more
  290. files check box, all other files for which there are converters are shown as well. In the format pop-up menu, a converter can be chosen in case there are several possible importers.
  291. Close
  292. Guard: front window
  293. Closes the front window. If the window is a primary document window and its contents has been modified ("dirty"), the user is asked whether to save the window's contents in a file.
  294. Guard: dirty front document window
  295. Saves the front window's contents to a file. If the window's contents has not yet been saved to a file, the user is asked for a file name.
  296. Save As
  297. Guard: front window
  298. Saves the front window's contents to a file. The user is always asked for a file name.
  299. Page Setup...
  300. Guard: front window
  301. Asks the user for the page information of the front window's document, for later printing.
  302. In addition to the data which is specific to the current printer driver, the margins can be set (the distances between the paper's edges and the printed area), and a standard header can be switched on or off. The standard header consists of a page number and a date.
  303. Mac OS:
  304. When using LaserWriter 7.x.y drivers, you should switch on greyscale printing (not black/white), otherwise printing may produce entirely black pages. If possible, switch to LaserWriter 8.x.y drivers, which don't show this behavior.
  305. Print...
  306. Guard: front window
  307. Asks the user for printing information, and then creates a print-out accordingly.
  308. Exit (Windows)
  309. Quit (Mac OS)
  310. Terminates the application. If windows with modified contents are open, the user is asked whether to save them in files.
  311. Edit Menu
  312. Undo [...]
  313. Guard: non-empty undo stack of operations
  314. Reverses the effect of the most recent modifying operation. Usually, the kind of operation is given behind the word "Undo", e.g. Undo
  315. Paste. Undo can be activated several times, until the opening, creation, or most recent saving of the document. Under low-memory conditions, the number of undoable operations may become reduced.
  316. Redo [...]
  317. Guard: non-empty redo stack of operations
  318. Restores the effect of the most recently undone operation. Usually, the kind of operation is given behind the word "Redo", e.g. Redo
  319. Paste.
  320. Guard: selection in focus view in front window
  321. Deletes the selection and puts a copy into the clipboard.
  322. Guard: selection in focus view in front window
  323. Puts a copy of the selection into the clipboard.
  324. Paste
  325. Guard: caret in focus view in front window, non-empty clipboard
  326. Pastes a copy of the clipboard's contents at the caret position. If the focus view contains the same kind of data as the clipboard, the data is inserted directly into the focus view's data. Otherwise, and if the focus view is a container, a copy of the whole view containing the clipboard data is inserted into the focus view's data.
  327. Delete (Windows)
  328. Guard: selection in focus in front window
  329. Deletes the selection, without putting it into the clipboard.
  330. Paste Object (Windows)
  331. Paste as Component (Mac OS)
  332. Guard: caret in focus view in front window, non-empty clipboard
  333. Pastes a copy of the clipboard's contents at the caret position. If the focus view is a container, a copy of the whole view containing the clipboard data is inserted into the focus view's data.
  334. Paste to Window (Windows)
  335. Guard: non-empty clipboard
  336. Opens a copy of the clipboard's contents into a new document window.
  337. Object Properties... (Windows)
  338. Opens an appropriate property sheet for the selected view.
  339. Object (Windows)
  340. Guard: a selected view
  341. Shows a submenu with commands for the selected view:
  342.     Edit
  343.     Makes the selected view the current focus view.
  344.     Open
  345.     Opens a new window showing a second view to the selected object.
  346.     + verbs defined for the selected view.
  347. Clear
  348. Guard: selection in focus view in front window
  349. Deletes the selection, without putting it into the clipboard.
  350. Select Document
  351. Guard: front window
  352. Selects the root view of the front window's document as a singleton. Note the difference to Select
  353. All, which selects the latter's contents instead (or rather the contents of whatever view is currently the focus).
  354. Select All
  355. Guard: selectable focus view in front window
  356. Selects the whole focus view's contents.
  357. Select Next Object (Windows)
  358. Guard: focused view is a container
  359. If a view in the container is selected: select the next view.
  360. If the last view is selected or there is no singleton selection: select the first view.
  361. Component Info (Mac OS)
  362. Guard: singleton selection
  363. Opens a modeless dialog with some information about the selected view.
  364. View In Window (Mac OS)
  365. Guard: front window
  366. Opens a new window on the front window's focus view. If the window is already open, it is brought to the top. The window's title is put between "(" and ")" parentheses.
  367. Font Menu (Mac OS)
  368. Available: font-carrying selection or caret in focus view in front window
  369. This menu lists all the fonts which are currently available. The menu item for the caret's font, or the font of the selection if it is homogeneous, is checked.
  370. Attributes Menu
  371. Available: style/size/color-carrying selection or caret in focus view in front window
  372. The following commands work on the selection; if there is no selection, the caret's current attributes are affected instead. These attributes are used as defaults when typing in new text.
  373. For colors, there is a system-wide color (default color) which can be modified by the user. Everything drawn in this color will be updated accordingly.
  374. Regular (Windows)
  375. Plain (Mac OS)
  376. Guard: style-carrying selection or caret in focus view in front window
  377. Checked: if text to the left and to the right of the caret is plain, or if selection is homogeneously plain (i.e. non-bold, non-italicized, non-underlined, and non-striked-out).
  378. Removes all style attributes (bold, italic, underline, strikeout) from the selection.
  379. Guard: style-carrying selection or caret in focus view in front window
  380. Checked: if text to the left and to the right of the caret is bold, or if selection is homogeneously bold.
  381. If the selection is homogeneously bold, it is made non-bold, otherwise it is made bold.
  382. Italic
  383. Guard: style-carrying selection or caret in focus view in front window
  384. Checked: if text to the left and to the right of the caret is italic, or if selection is homogeneously italic.
  385. If the selection is homogeneously italic, it is made non-italic, otherwise it is made italic.
  386. Underline
  387. Guard: style-carrying selection or caret in focus view in front window
  388. Checked: if text to the left and to the right of the caret is underlined, or if selection is homogeneously underlined.
  389. If the selection is homogeneously underlined, it is made non-underlined, otherwise it is made underlined.
  390. Strikeout (Mac OS)
  391. Guard: style-carrying selection or caret in focus view in front window
  392. Checked: if text to the left and to the right of the caret is striked out, or if selection is homogeneously striked out.
  393. If the selection is homogeneously striked out, it is made non-striked-out, otherwise it is made striked out.
  394. 9 point, 10, 12, 16, 20, 24
  395. Guard: size-carrying selection or caret in focus view in front window
  396. Checked: if text to the left and to the right of the caret has the given size, or if the selection is homogeneously of the given size.
  397. The selection is set to the given point size.
  398. Size... (Windows)
  399. Other Size... (Mac OS)
  400. Guard: size-carrying selection or caret in focus view in front window
  401. Checked: if none of the other sizes apply
  402. A tool dialog is opened, which allows to enter a particular font size in points, and then to set the selection to this size.
  403. Default Color
  404. Guard: color-carrying selection or caret in focus view in front window
  405. Checked: if text to the left and to the right of the caret has the default color, or if the selection is homogeneously of the default color
  406. Sets the selection's color to the default color.
  407. Black
  408. Guard: color-carrying selection or caret in focus view in front window
  409. Checked: if text to the left and to the right of the caret is black, or if the selection is homogeneously black
  410. Sets the selection's color to black.
  411. Guard: color-carrying selection or caret in focus view in front window
  412. Checked: if text to the left and to the right of the caret is red, or if the selection is homogeneously red
  413. Sets the selection's color to red.
  414. Green
  415. Guard: color-carrying selection or caret in focus view in front window
  416. Checked: if text to the left and to the right of the caret is green, or if the selection is homogeneously green
  417. Sets the selection's color to green.
  418. Guard: color-carrying selection or caret in focus view in front window
  419. Checked: if text to the left and to the right of the caret is blue, or if the selection is homogeneously blue
  420. Sets the selection's color to blue.
  421. Color... (Windows)
  422. Other Color... (Mac OS)
  423. Guard: color-carrying selection or caret in focus view in front window
  424. Checked: if none of the other colors apply
  425. Asks the user for a color, to which it then sets the selection.
  426. Set Default Color... (Mac OS)
  427. Guard: color-carrying selection or caret in focus view in front window
  428. Asks the user for a color, to which it then sets the default color.
  429. Font... (Windows)
  430. Guard: font-carrying selection or caret in focus view in front window
  431. Opens the standard font dialog and applies the chosen font attributes to the selection.
  432. Typeface... (Windows)
  433. Guard: font-carrying selection or caret in focus view in front window
  434. Opens the standard font dialog and applies the chosen font attributes to the selection. In contrast to the Font... command, only the typeface (the name of the font) is changed, but not the other attributes like size or weight (bold/normal).
  435. Window Menu (Windows)
  436. Windows Menu (Mac OS)
  437. New Window (Windows)
  438. Guard: front window
  439. Opens a new window on the same document as the front window. The window is of the same kind as the front window. The window's title is put between "(" and ")" parentheses.
  440. Cascade (Windows)
  441. Stack (Mac OS)
  442. Guard: front window
  443. Arrange document windows in an overlapping fashion.
  444. Tile Horizontal
  445. Arrange windows from left to right in a non-overlapping fashion. This command does not affect non-resizable windows, and it ignores some windows when there are too many open windows for a reasonable tiling. The front window becomes the left-most window.
  446. Tile Vertical
  447. Arrange windows from top to bottom in a non-overlapping fashion. This command does not affect non-resizable windows, and it ignores some windows when there are too many open windows for a reasonable tiling. The front window becomes the top-most window.
  448. Arrange Icons (Windows)
  449. Arrange icons (minimized windows) at the bottom of the application window.
  450. Show Clipboard / Hide Clipboard (Mac OS)
  451. If the clipboard is open, it closes it and all its secondary windows. Otherwise it opens a clipboard window.
  452. windows (Mac OS)
  453. Here the list of open windows is appended, the front window at the top (checked). Document window titles are in boldface if their contents has been modified.
  454. Helvetica
  455. Documents.ControllerDesc
  456.